package com.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.blog.dto.LoginDTO;
import com.blog.dto.RegisterDTO;
import com.blog.entity.User;
import me.zhyd.oauth.model.AuthUser;

public interface UserService extends IService<User> {
    /**
     * 用户登录
     */
    User login(LoginDTO loginDTO);

    /**
     * 用户注册
     */
    boolean register(RegisterDTO registerDTO);

    User loginByGitee(AuthUser authUser);
}
